[INFO] cloning repository https://github.com/superhu/mysql-udf-http-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/superhu/mysql-udf-http-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperhu%2Fmysql-udf-http-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperhu%2Fmysql-udf-http-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] acf8691ae437392c4daaeb050086a80dae4904ec
[INFO] checking superhu/mysql-udf-http-rs against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperhu%2Fmysql-udf-http-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/superhu/mysql-udf-http-rs
[INFO] finished tweaking git repo https://github.com/superhu/mysql-udf-http-rs
[INFO] tweaked toml for git repo https://github.com/superhu/mysql-udf-http-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/superhu/mysql-udf-http-rs on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/superhu/mysql-udf-http-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.tokio-tungstenite.futures
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded udf-sys v0.5.5
[INFO] [stderr]   Downloaded proc-macro2 v1.0.83
[INFO] [stderr]   Downloaded udf v0.5.5
[INFO] [stderr]   Downloaded syn v2.0.65
[INFO] [stderr]   Downloaded async-compression v0.4.10
[INFO] [stderr]   Downloaded hyper v1.3.1
[INFO] [stderr]   Downloaded udf-macros v0.5.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9bf5bb9221fd8ee1a9726c6ee7663705518ee02b400e785501fcc3a7f7b96f90
[INFO] running `Command { std: "docker" "start" "-a" "9bf5bb9221fd8ee1a9726c6ee7663705518ee02b400e785501fcc3a7f7b96f90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bf5bb9221fd8ee1a9726c6ee7663705518ee02b400e785501fcc3a7f7b96f90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9bf5bb9221fd8ee1a9726c6ee7663705518ee02b400e785501fcc3a7f7b96f90", kill_on_drop: false }`
[INFO] [stdout] 9bf5bb9221fd8ee1a9726c6ee7663705518ee02b400e785501fcc3a7f7b96f90
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 089843f1ea69dddbe9999c118374cb36a60c4f1fdb87eecc70578d0d6632f49b
[INFO] running `Command { std: "docker" "start" "-a" "089843f1ea69dddbe9999c118374cb36a60c4f1fdb87eecc70578d0d6632f49b", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.tokio-tungstenite.futures
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking miniz_oxide v0.7.3
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking rustls-pki-types v1.7.0
[INFO] [stderr]     Checking data-encoding v2.6.0
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling syn v2.0.65
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]     Checking udf-sys v0.5.5
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking rustls-pemfile v2.1.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]     Checking http-body-util v0.1.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling udf-macros v0.5.5
[INFO] [stderr]     Checking udf v0.5.5
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tokio v1.38.0
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking tungstenite v0.23.0
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking async-compression v0.4.10
[INFO] [stderr]     Checking tokio-tungstenite v0.23.1
[INFO] [stderr]     Checking h2 v0.4.5
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v1.3.1
[INFO] [stderr]     Checking hyper-util v0.1.3
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.4
[INFO] [stderr]     Checking mysql-udf-http-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `http`
[INFO] [stdout]   --> src/bin/ws.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | mod http;
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `http`, create file "src/bin/http.rs" or "src/bin/http/mod.rs"
[INFO] [stdout]    = note: if there is a `mod http` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/bin/ws.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os::windows::io::AsRawSocket;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/os/mod.rs:56:5
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/os/mod.rs:120:10
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `write`
[INFO] [stdout]    --> src/main.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     write(sock.try_clone().unwrap(), "And this is my Child\n").unwrap();
[INFO] [stdout]     |     ^^^^^ not a function
[INFO] [stdout]     |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]     |
[INFO] [stdout] 104 |     write!(sock.try_clone().unwrap(), "And this is my Child\n").unwrap();
[INFO] [stdout]     |          +
[INFO] [stdout] help: consider importing one of these functions instead
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::fmt::write;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::fs::write;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::ptr::write;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use core::fmt::write;
[INFO] [stdout]     |
[INFO] [stdout]     = and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read` in this scope
[INFO] [stdout]    --> src/main.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 19  | fn readn(fd: &TcpStream, buf: &mut [u8]) -> io::Result<usize> {
[INFO] [stdout]     | ------------------------------------------------------------- similarly named function `readn` defined here
[INFO] [stdout] ...
[INFO] [stdout] 105 |     read(sock.try_clone().unwrap(), &mut a).unwrap();
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 105 |     readn(sock.try_clone().unwrap(), &mut a).unwrap();
[INFO] [stdout]     |         +
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::fs::read;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use core::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use libc::read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UdpSocket`
[INFO] [stdout]  --> src/main.rs:2:40
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{Ipv4Addr, SocketAddrV4, UdpSocket, TcpStream, TcpListener};
[INFO] [stdout]   |                                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::prelude::*`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::unix::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::CStr`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ffi::CStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Sender` and `channel`
[INFO] [stdout]  --> src/main.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::mpsc::{channel, Sender};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `reqwest_websocket`
[INFO] [stdout]   --> src/bin/ws.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use reqwest_websocket::{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `reqwest_websocket`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `reqwest_websocket`, use `cargo add reqwest_websocket` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/bin/ws.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/bin/ws.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/bin/ws.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/bin/ws.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::blocking::multipart`
[INFO] [stdout]  --> src/bin/ws.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use reqwest::blocking::multipart;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime::Runtime`
[INFO] [stdout]   --> src/bin/ws.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::runtime::Runtime;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libc::socket`
[INFO] [stdout]   --> src/bin/ws.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use libc::socket;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `http`
[INFO] [stdout]   --> src/bin/ws.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | mod http;
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `http`, create file "src/bin/http.rs" or "src/bin/http/mod.rs"
[INFO] [stdout]    = note: if there is a `mod http` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `upgrade` found for struct `reqwest::RequestBuilder` in the current scope
[INFO] [stdout]   --> src/bin/ws.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 63 |       let websocket = Client::default()
[INFO] [stdout]    |  _____________________-
[INFO] [stdout] 64 | |         .get("wss://echo.websocket.org/")
[INFO] [stdout] 65 | |         .upgrade()
[INFO] [stdout]    | |         -^^^^^^^ method not found in `reqwest::RequestBuilder`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpStream`
[INFO] [stdout]  --> src/websocket.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::net::TcpStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::CloseFrame`
[INFO] [stdout]  --> src/websocket.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_tungstenite::tungstenite::protocol::CloseFrame;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::frame::coding::CloseCode`
[INFO] [stdout]  --> src/websocket.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio_tungstenite::tungstenite::protocol::frame::coding::CloseCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MaybeTlsStream`, `WebSocketStream`, and `tungstenite`
[INFO] [stdout]  --> src/websocket.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio_tungstenite::{MaybeTlsStream, WebSocketStream, tungstenite};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `write`
[INFO] [stdout]    --> src/main.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     write(sock.try_clone().unwrap(), "And this is my Child\n").unwrap();
[INFO] [stdout]     |     ^^^^^ not a function
[INFO] [stdout]     |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]     |
[INFO] [stdout] 104 |     write!(sock.try_clone().unwrap(), "And this is my Child\n").unwrap();
[INFO] [stdout]     |          +
[INFO] [stdout] help: consider importing one of these functions instead
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::fmt::write;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::fs::write;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::ptr::write;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use core::fmt::write;
[INFO] [stdout]     |
[INFO] [stdout]     = and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read` in this scope
[INFO] [stdout]    --> src/main.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 19  | fn readn(fd: &TcpStream, buf: &mut [u8]) -> io::Result<usize> {
[INFO] [stdout]     | ------------------------------------------------------------- similarly named function `readn` defined here
[INFO] [stdout] ...
[INFO] [stdout] 105 |     read(sock.try_clone().unwrap(), &mut a).unwrap();
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 105 |     readn(sock.try_clone().unwrap(), &mut a).unwrap();
[INFO] [stdout]     |         +
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::fs::read;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use core::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use libc::read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UdpSocket`
[INFO] [stdout]  --> src/main.rs:2:40
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{Ipv4Addr, SocketAddrV4, UdpSocket, TcpStream, TcpListener};
[INFO] [stdout]   |                                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0583, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::prelude::*`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::unix::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::CStr`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ffi::CStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Sender` and `channel`
[INFO] [stdout]  --> src/main.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::mpsc::{channel, Sender};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for reference `&TcpStream` in the current scope
[INFO] [stdout]   --> src/main.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let nread = fd.read(&mut buf[buf_pos..])?;
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/io/mod.rs:813:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `&TcpStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `read_i8` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/byteorder-1.5.0/src/io.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn read_i8(&mut self) -> Result<i8> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/bin/ws.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os::windows::io::AsRawSocket;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/os/mod.rs:56:5
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/os/mod.rs:120:10
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mysql-udf-http-rs` (bin "ws" test) due to 4 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved import `reqwest_websocket`
[INFO] [stdout]   --> src/bin/ws.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use reqwest_websocket::{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `reqwest_websocket`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `reqwest_websocket`, use `cargo add reqwest_websocket` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/bin/ws.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/bin/ws.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/bin/ws.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/bin/ws.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::blocking::multipart`
[INFO] [stdout]  --> src/bin/ws.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use reqwest::blocking::multipart;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime::Runtime`
[INFO] [stdout]   --> src/bin/ws.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::runtime::Runtime;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libc::socket`
[INFO] [stdout]   --> src/bin/ws.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use libc::socket;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for reference `&TcpStream` in the current scope
[INFO] [stdout]   --> src/main.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fd.write_all(&answer)?;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/io/mod.rs:1835:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `&TcpStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `write` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 44 -     fd.write_all(&answer)?;
[INFO] [stdout] 44 +     fd.write(&answer)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `upgrade` found for struct `reqwest::RequestBuilder` in the current scope
[INFO] [stdout]   --> src/bin/ws.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 63 |       let websocket = Client::default()
[INFO] [stdout]    |  _____________________-
[INFO] [stdout] 64 | |         .get("wss://echo.websocket.org/")
[INFO] [stdout] 65 | |         .upgrade()
[INFO] [stdout]    | |         -^^^^^^^ method not found in `reqwest::RequestBuilder`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for reference `&TcpStream` in the current scope
[INFO] [stdout]   --> src/main.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fd.write_all(&response)?;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/io/mod.rs:1835:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `&TcpStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `write` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 -     fd.write_all(&response)?;
[INFO] [stdout] 74 +     fd.write(&response)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0583, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for reference `&TcpStream` in the current scope
[INFO] [stdout]   --> src/main.rs:81:31
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let nread = match fd0.read(&mut buffer_r) {
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/io/mod.rs:813:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `&TcpStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `read_i8` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/byteorder-1.5.0/src/io.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn read_i8(&mut self) -> Result<i8> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SinkExt`
[INFO] [stdout]  --> src/websocket.rs:1:48
[INFO] [stdout]   |
[INFO] [stdout] 1 | use futures_util::{future, pin_mut, StreamExt, SinkExt};
[INFO] [stdout]   |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mysql-udf-http-rs` (bin "ws") due to 4 previous errors; 7 warnings emitted
[INFO] [stdout] warning: unused import: `tokio::net::TcpStream`
[INFO] [stdout]  --> src/websocket.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::net::TcpStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::CloseFrame`
[INFO] [stdout]  --> src/websocket.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_tungstenite::tungstenite::protocol::CloseFrame;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::frame::coding::CloseCode`
[INFO] [stdout]  --> src/websocket.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio_tungstenite::tungstenite::protocol::frame::coding::CloseCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MaybeTlsStream`, `WebSocketStream`, and `tungstenite`
[INFO] [stdout]  --> src/websocket.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio_tungstenite::{MaybeTlsStream, WebSocketStream, tungstenite};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for reference `&TcpStream` in the current scope
[INFO] [stdout]   --> src/main.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |         fd1.write_all(&buffer_r[..nread]).unwrap();
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/io/mod.rs:1835:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `&TcpStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `write` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 85 -         fd1.write_all(&buffer_r[..nread]).unwrap();
[INFO] [stdout] 85 +         fd1.write(&buffer_r[..nread]).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `TcpStream` in the current scope
[INFO] [stdout]   --> src/main.rs:90:34
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let mut inet_fd = TcpStream::new().unwrap();
[INFO] [stdout]    |                                  ^^^ function or associated item not found in `TcpStream`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `TcpStream` consider using one of the following associated functions:
[INFO] [stdout]       TcpStream::connect
[INFO] [stdout]       TcpStream::connect_timeout
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/net/tcp.rs:169:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/main.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let address = format!("{}.{}.{}.{}", ip[0], ip[1], ip[2], ip[3]);
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ip` is never used
[INFO] [stdout]    --> src/websocket.rs:188:4
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn get_ip(args: &ArgList<Process>) -> String {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send` is never used
[INFO] [stdout]    --> src/websocket.rs:279:8
[INFO] [stdout]     |
[INFO] [stdout] 279 | pub fn send(fd: RawFd, buf: &[u8]) -> io::Result<usize> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mysql-udf-http-rs` (bin "mysql-udf-http-rs") due to 8 previous errors; 8 warnings emitted
[INFO] [stdout] warning: unused return value of `std::hint::must_use` that must be used
[INFO] [stdout]    --> src/websocket.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     format!("receive msg from isdp,send to front-server fd:{}",&java2db_fd);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     let _ = format!("receive msg from isdp,send to front-server fd:{}",&java2db_fd);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for reference `&TcpStream` in the current scope
[INFO] [stdout]   --> src/main.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let nread = fd.read(&mut buf[buf_pos..])?;
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/io/mod.rs:813:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `&TcpStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `read_i8` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/byteorder-1.5.0/src/io.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn read_i8(&mut self) -> Result<i8> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for reference `&TcpStream` in the current scope
[INFO] [stdout]   --> src/main.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fd.write_all(&answer)?;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/io/mod.rs:1835:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `&TcpStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `write` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 44 -     fd.write_all(&answer)?;
[INFO] [stdout] 44 +     fd.write(&answer)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SinkExt`
[INFO] [stdout]  --> src/websocket.rs:1:48
[INFO] [stdout]   |
[INFO] [stdout] 1 | use futures_util::{future, pin_mut, StreamExt, SinkExt};
[INFO] [stdout]   |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for reference `&TcpStream` in the current scope
[INFO] [stdout]   --> src/main.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fd.write_all(&response)?;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/io/mod.rs:1835:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `&TcpStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `write` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 -     fd.write_all(&response)?;
[INFO] [stdout] 74 +     fd.write(&response)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for reference `&TcpStream` in the current scope
[INFO] [stdout]   --> src/main.rs:81:31
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let nread = match fd0.read(&mut buffer_r) {
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/io/mod.rs:813:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `&TcpStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `read_i8` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/byteorder-1.5.0/src/io.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn read_i8(&mut self) -> Result<i8> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ip` is never used
[INFO] [stdout]    --> src/websocket.rs:188:4
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn get_ip(args: &ArgList<Process>) -> String {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send` is never used
[INFO] [stdout]    --> src/websocket.rs:279:8
[INFO] [stdout]     |
[INFO] [stdout] 279 | pub fn send(fd: RawFd, buf: &[u8]) -> io::Result<usize> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for reference `&TcpStream` in the current scope
[INFO] [stdout]   --> src/main.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |         fd1.write_all(&buffer_r[..nread]).unwrap();
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/io/mod.rs:1835:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `&TcpStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `write` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 85 -         fd1.write_all(&buffer_r[..nread]).unwrap();
[INFO] [stdout] 85 +         fd1.write(&buffer_r[..nread]).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `TcpStream` in the current scope
[INFO] [stdout]   --> src/main.rs:90:34
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let mut inet_fd = TcpStream::new().unwrap();
[INFO] [stdout]    |                                  ^^^ function or associated item not found in `TcpStream`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `TcpStream` consider using one of the following associated functions:
[INFO] [stdout]       TcpStream::connect
[INFO] [stdout]       TcpStream::connect_timeout
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/net/tcp.rs:169:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::hint::must_use` that must be used
[INFO] [stdout]    --> src/websocket.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     format!("receive msg from isdp,send to front-server fd:{}",&java2db_fd);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     let _ = format!("receive msg from isdp,send to front-server fd:{}",&java2db_fd);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/main.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let address = format!("{}.{}.{}.{}", ip[0], ip[1], ip[2], ip[3]);
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mysql-udf-http-rs` (bin "mysql-udf-http-rs" test) due to 8 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "089843f1ea69dddbe9999c118374cb36a60c4f1fdb87eecc70578d0d6632f49b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "089843f1ea69dddbe9999c118374cb36a60c4f1fdb87eecc70578d0d6632f49b", kill_on_drop: false }`
[INFO] [stdout] 089843f1ea69dddbe9999c118374cb36a60c4f1fdb87eecc70578d0d6632f49b
